package com.quanyan.place.service;

import com.quanyan.api.APIResponse;
import com.quanyan.place.entity.apireq.ReqPlaceBundle;

import java.util.Date;

/**
 * 捆绑销售service
 * Created by youxiaojia on 2016/10/11.
 */
public interface PlaceBundleSaleService {

    /**
     * 获取场馆销售时段
     * @param placeId
     * @return
     */
    APIResponse getPlaceSaleTimes(Integer placeId, Integer categoryId);

    /**
     * 获取捆绑销售时段规则
     * @param placeId
     * @param categoryId
     * @return
     */
    APIResponse getBundleSale(Integer placeId,Integer categoryId);

    /**
     * 设置捆绑销售
     * @param reqPlaceBundle
     * @return
     */
    APIResponse settingBundleSale(ReqPlaceBundle reqPlaceBundle) throws Exception;

    /**
     * 取消捆绑销售
     * @param bundleNo
     * @return
     */
    APIResponse cancelBundleSale(Integer bundleNo) throws Exception;
}
